package com.my.createtype.builder;

public class NorthTrainBuilder implements ITrainBuilder {
	
	private Train train;

	public NorthTrainBuilder() {
		this.train = new Train();
	}

	@Override
	public void buildHead() {
		train.setHead("north train head");
	}

	@Override
	public void buildBody() {
		train.setBody("north train body");
	}

	@Override
	public void buildTail() {
		train.setTail("north train tail");
	}

	@Override
	public Train buildTrain() {
		return train;
	}
	

}
